package bs.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import bs.dao.LangDao;
import bs.entity.Language;
import bs.service.LangService;

/**
 * 
 * LangServiceImpl
 *
 * @author 姜治昊
 * @time 2017年12月5日 上午9:56:43
 */
@Service
public class LangServiceImpl implements LangService {

	@Autowired
	private LangDao langDao;
	
	@Override
	public List<Language> getLanguageList(String q) {
		// TODO Auto-generated method stub
		List<Language> result = langDao.getLanguageList("%"+q+"%");
		return result;
	}

}
